import request from '@/utils/request'
// 封装登录接口
export const login = (data) => {
  return request({
    url: '/sys/login',
    method: 'POST',
    data
  })
}
// 封装获取用户信息接口
export const getUserInfoReq = () => {
  return request({
    url: 'sys/profile'
  })
}
